package patterns.command;

public enum TaskStatus {
    PENDING("待执行"),
    EXECUTING("执行中"),
    PAUSED("已暂停"),
    COMPLETED("已完成"),
    FAILED("已失败"),
    CANCELLED("已取消");

    private String description;

    TaskStatus(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }
}
